print("It is a lua if...else test!!!\n")
--[[
    lua的分支结构
    if(condition)
    then
        exp1
    else
        exp2
    end
    1.  condition返回true时为真，返回nil和false时为假
    2.  condition为真时执行exp1
    3.  condition为假时执行exp2
    --]]

condition = false
if condition then
    print("condition    =",condition)-- body
else
    print("condition    =",condition)-- body
end

--[[
    Summary:
    lua的分支结构，要注意nil代表false
    --]]